package com.souche.employment.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.souche.employment.domain.UserDO;

/**
 * 
 * userMapper.java created at 2017年8月9日 下午2:23:36
 * @author Ray [email:rayinhangzhou@hotmail.com]
 * Revision History
 * Date            Programmer                   Notes
 * ----------------------------------------------------------
 **/
@Mapper
public interface UserMapper {

	@Select("select * from user where id = #{mail} and type='hr' or type='manager'")
	UserDO getUserByLoginMail(String mail);
}
